<?php

/**
 * Description of VehiclesController
 *
 * @author Nylaye
 */
class Reports_ReportController extends Model3_Controller
{
    protected $_em;
    protected $_data;

    public function init()
    {
        $this->_em = $this->getEntityManager('DefaultDb');
        $this->_data = array();
        $this->view->whereAmI = array();
        $this->view->setTemplate('Responsive-3.0');
        $this->view->description = 'Reportes';
        parent::init();
    }

    public function invalidAction()
    {
        $this->view->title = 'Ups!!!';
    }

    public function postDispatch()
    {
        $this->view->_data = $this->_data;
    }

}